package com.justech.eat.service;

import com.justech.eat.entity.User;

import java.util.List;

/**
 * @program: eat-service
 * @description:
 * @author: feifei.li
 * @create: 2020-06-10 16:06
 **/
public interface UserService {

    List<User> getAll();

    void saveAll(List<User> users);

    /**
     * 受理员工离职
     *
     * @param jobNumber 工号
     */
    void acceptResignation(String jobNumber);

    /**
     * 批量受理离职员工
     * @param users
     * @return
     */
    int acceptResignation(List<User> users);

}
